<template>
	<!-- 招考 -->
	<view class="bigbox">
		<!-- 头部盒子 -->
		<view class="headerbox flex mt40">
			<!-- 左侧 -->
			<view class="headerbox-l" @click="$jump('/pages/home/Recruitment/ExaminationGuidance/ExaminationGuidance?type=1&tit=笔试辅导')">
				<image src="/static/img/index/13zhaokao-bishi.png" class="w370 h205"></image>
			</view>
			<!-- 右侧 -->
			<view class="headerbox-r" @click="$jump('/pages/home/Recruitment/ExaminationGuidance/ExaminationGuidance?type=2&tit=面试辅导')">
				<image src="/static/img/index/13zhaokao-face.png" class="w370 h205"></image>
			</view>
		</view>
		<!-- /头部盒子 -->

		<view class="flex col-center mt60">
			<image src="../../../static/img/index/13zhaokao-icon.png" class="w53 h58 mt20 mr10"></image>
			<text class="">
				招考信息
			</text>
		</view>

		<!-- 信息每一项盒子 -->
		<view class="" @tap="$jump('/pages/home/Recruitment/RecruitmentD?id='+item.id+'&tit='+item.title)" v-for="(item,index) in data" :key="index">
			<view class="bannerbox-item pl26 pt32 pb38 pr26 mt26">
				<view class="mb26 bannerbox-item-tit">{{item.title}}</view>
				<view class="mb26">{{item.createtime}} </view>
				<view class="">{{item.name}}</view>
			</view>
		</view>
		<!-- /信息每一项盒子 -->
	</view>


</template>

<script>
	export default {
		data() {
			return {
				data:''
			};
		},
		onShow() {
			this.rmindex()
		},
		methods: {
			rmindex() {
				this.$api.rmindex().then(res => {
					this.data=res.data
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #FFFFFF;
	}

	.bannerbox-item {
		background-color: #FFFFFF;
		box-shadow: 0px 6rpx 20rpx 0px #E8EAEF;
		border-radius: 14rpx;
		font-size: 22rpx;
		font-weight: 500;
		color: #6D788B;

		.bannerbox-item-tit {
			font-size: 30rpx;
			font-weight: bold;
			color: #0C162E;
		}
	}
</style>
